﻿using System;
using System.Collections.Generic;

namespace IsoStorageManagerApp
{
    public class Order : IEquatable<Order>
    {
        public String Name { get; set; }

        public List<ProductList> Lists { get; set; }

        public DateTime Date { get; set; }


        public bool Equals(Order other)
        {
            return ((Lists.Count == other.Lists.Count) && (Date == other.Date)); // Just a simple comparing
        }
    }

    public class ProductList
    {
        public List<ProductEntity> List { get; set; }

        public String Name { get; set; }
    }

    public class ProductEntity
    {
        public string Title { get; set; }

        public string Description { get; set; }

        public string ImagePath { get; set; }
        
        public int MyInt { get; set; }

        public double MyDouble { get; set; }
    }
}
